#ifndef _DIALOG_BRIGHT_H_
#define _DIALOG_BRIGHT_H_

#include "popup_dialog.h"
#include "button.h"
#include "lable.h"


class BrightDialog:public PopupDialog
{
public:
    BrightDialog(HWND parent =0);
    ~BrightDialog();

    //widgets in this window
    //PPage1Dialog pPage1Dialog;
    //PPage2Dialog pPage2Dialog;
    
    Button *pButton1;
    Button *pButton2;
    Button *pButton3;
    Button *pButton4;
    Button *pButton5;

    Lable *lable1;
    
private:
    void setupWidgets();
    void cleanWidgets();
    void draw(Rect *r);

    void buttonUp();
    void buttonDown();
    virtual int eventHandler(HWND hWnd, int iMsg, WPARAM wParam, LPARAM lParam);
};

#endif


